/**
 * Place holder for copyright, needs to be replaced before release.
 */
package com.softao.ming.gwt.core.runtime.client;

/**
 * An interface for an adaptable object.
 */
public interface IAdaptable {
	/**
	 * @param <T>
	 *            the concrete type of the adaptable object
	 * @param type
	 *            the type of the adaptable object
	 * @return the instance of the adaptable object. <code>null</code> if the
	 *         object does not support.
	 */
	public <T> T getAdapter(Class<T> type);
}
